import { createAPI, createFormAPI } from '@/utils/request'

export const insertEnvironmentalMonitoring = data => createFormAPI('/admin/environmentalMonitoring', 'post', data)
export const deleteEnvironmentalMonitoring= data => createAPI(`/admin/environmentalMonitoring/${data.id}`, 'delete', data)
export const updateEnvironmentalMonitoring= data => createAPI('/admin/environmentalMonitoring', 'put', data)
export const selectEnvironmentalMonitoring= data => createAPI('/admin/environmentalMonitoring', 'get', data)
export const environmentalMonitoringNum= data => createAPI('/admin/environmentalMonitoringNum','get',data)
